package heven.holt.library.api

import okhttp3.ResponseBody
import retrofit2.http.GET
import retrofit2.http.Header
import retrofit2.http.Streaming
import retrofit2.http.Url

interface DownloadServer {
    @Streaming
    @GET
    suspend fun download(@Url url: String, @Header("Range") range: String? = null): ResponseBody
}